package com.gzxx.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Getter;
import lombok.ToString;

import java.io.Serializable;

/** 用户角色映射实体
 * @Author pengpdx
 * @Date 2020/7/29 11:56
 */
@Getter
@ToString(callSuper = true)
@TableName("sys_user_role")
public class SysUserRole implements Serializable {

    private static final long serialVersionUID = -2823777045469966638L;
    private Long userId;
    private Long roleId;

    @Builder
    private SysUserRole(Long userId, Long roleId) {
        this.userId = userId;
        this.roleId = roleId;
    }
}
